using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._UtilityNetworkTools
{
    /// <summary>
    /// <para>Export Diagram Layer Definition</para>
    /// <para>Export a diagram template layer definition to a file</para>
    /// <para>将逻辑示意图模板图层定义导出到文件</para>
    /// </summary>    
    [DisplayName("Export Diagram Layer Definition")]
    public class ExportDiagramLayerDefinition : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public ExportDiagramLayerDefinition()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_network_diagram_layer">
        /// <para>Input Network Diagram Layer</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        /// <param name="_out_ndld_file">
        /// <para>Output Diagram Layer Definition File</para>
        /// <para></para>
        /// <para></para>
        /// </param>
        public ExportDiagramLayerDefinition(object _in_network_diagram_layer, object _out_ndld_file)
        {
            this._in_network_diagram_layer = _in_network_diagram_layer;
            this._out_ndld_file = _out_ndld_file;
        }
        public override string ToolboxName => "Utility Network Tools";

        public override string ToolName => "Export Diagram Layer Definition";

        public override string CallName => "un.ExportDiagramLayerDefinition";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_network_diagram_layer, _out_ndld_file, _out_network_diagram_layer];

        /// <summary>
        /// <para>Input Network Diagram Layer</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Network Diagram Layer")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_network_diagram_layer { get; set; }


        /// <summary>
        /// <para>Output Diagram Layer Definition File</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Diagram Layer Definition File")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _out_ndld_file { get; set; }


        /// <summary>
        /// <para>Altered Network Diagram Layer</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Altered Network Diagram Layer")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_network_diagram_layer { get; set; }


        public ExportDiagramLayerDefinition SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}